package com.zj.java21demo.exception;

import org.springframework.security.core.AuthenticationException;

/**
 * @Description 自定义异常类
 * @Version 1.0.0
 * @Date 2024/2/28 16:24
 * @Created by zhangjun
 */
public class AuthorizationExceptionEx extends AuthenticationException {

    public AuthorizationExceptionEx(String msg, Throwable cause) {
        super(msg, cause);
    }

    public AuthorizationExceptionEx(String msg) {
        super(msg);
    }
}